package com.linkage.seapeak.pojo;

import com.linkage.jz.bankruptcy.bean.LoginInfo;

import java.io.Serializable;

public class MessageItem {


    /**
     * id : f73deed4c2d84311830d9837421822ca
     * projectId : a7e0f8b5fee94be4923c708743926c7f
     * sendUserId : 3650a97e25c44e9b8f1c1fb5dcde9d50
     * fromUserId : 65ead082706f4da8ab2a0aa71eb7d32d
     * sourceUserId : 3650a97e25c44e9b8f1c1fb5dcde9d50
     * action : MESSAGE
     * actionParams :{\"creditorId\":\"3650a97e25c44e9b8f1c1fb5dcde9d50\",\"subjectId\":\"85b0b45ea0c046da9cc7aa7fadf32a67\"}
     * title : calm
     * note : calm
     * msgType : STAY
     * status : false
     * readTime : null
     * push : true
     * groupNo : null
     * sendUser : {"id":"3650a97e25c44e9b8f1c1fb5dcde9d50","loginname":"17712908184","username":"","avatar":null,"company":null,"userOnline":true,"disabled":false,"email":null,"mobile":"17712908184","loginAt":1557022110,"loginIp":"221.226.186.58","loginCount":37,"loginSessionId":null,"customMenu":null,"loginTheme":null,"menuTheme":null,"loginSidebar":false,"loginBoxed":false,"loginScroll":false,"loginPjax":true,"appInfoIdAndroid":"7b5480cbf2874de4bbc01318e8cf24ef","appInfoIdIos":null,"unitid":"4db0951b9c5c4bbfbf6cf104cc2511c0","unit":null,"appInfoIos":null,"appInfoAndroid":null,"roles":null,"units":null,"menus":null,"firstMenus":null,"secondMenus":null,"customMenus":null,"qq":null,"wx":null,"opBy":"","opAt":1556434966,"delFlag":false}
     * fromUser : {"id":"65ead082706f4da8ab2a0aa71eb7d32d","loginname":"69499464629245","username":"一下","avatar":null,"company":null,"userOnline":false,"disabled":false,"email":null,"mobile":"69499464629245","loginAt":null,"loginIp":null,"loginCount":0,"loginSessionId":null,"customMenu":null,"loginTheme":null,"menuTheme":null,"loginSidebar":false,"loginBoxed":false,"loginScroll":false,"loginPjax":true,"appInfoIdAndroid":null,"appInfoIdIos":null,"unitid":"4db0951b9c5c4bbfbf6cf104cc2511c0","unit":null,"appInfoIos":null,"appInfoAndroid":null,"roles":null,"units":null,"menus":null,"firstMenus":null,"secondMenus":null,"customMenus":null,"qq":null,"wx":null,"opBy":"","opAt":1556963460,"delFlag":false}
     * sourceUser : {"id":"3650a97e25c44e9b8f1c1fb5dcde9d50","loginname":"17712908184","username":"","avatar":null,"company":null,"userOnline":true,"disabled":false,"email":null,"mobile":"17712908184","loginAt":1557022110,"loginIp":"221.226.186.58","loginCount":37,"loginSessionId":null,"customMenu":null,"loginTheme":null,"menuTheme":null,"loginSidebar":false,"loginBoxed":false,"loginScroll":false,"loginPjax":true,"appInfoIdAndroid":"7b5480cbf2874de4bbc01318e8cf24ef","appInfoIdIos":null,"unitid":"4db0951b9c5c4bbfbf6cf104cc2511c0","unit":null,"appInfoIos":null,"appInfoAndroid":null,"roles":null,"units":null,"menus":null,"firstMenus":null,"secondMenus":null,"customMenus":null,"qq":null,"wx":null,"opBy":"","opAt":1556434966,"delFlag":false}
     * opBy :
     * opAt : 1557042399
     * delFlag : false
     */

    private String id;
    private String projectId;
    private String sendUserId;
    private String fromUserId;
    private String sourceUserId;
    private String action;
    private String actionParams;
    private String title;
    private String note;
    private String msgType;
    private boolean status;
    private Object readTime;
    private boolean push;

    public String getUnreadCount() {
        return unreadCount;
    }

    public void setUnreadCount(String unreadCount) {
        this.unreadCount = unreadCount;
    }

    private String unreadCount;
    private Object groupNo;
    private LoginInfo sendUser;
    private LoginInfo fromUser;
    private LoginInfo sourceUser;
    private String opBy;
    private int opAt;
    private boolean delFlag;

    private String sendTime;

    private ActionParms actionParms;

    public ActionParms getActionParms() {
        return actionParms;
    }

    public void setActionParms(ActionParms actionParms) {
        this.actionParms = actionParms;
    }

    public String getSendTime() {
        return sendTime;
    }

    public void setSendTime(String sendTime) {
        this.sendTime = sendTime;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public String getSendUserId() {
        return sendUserId;
    }

    public void setSendUserId(String sendUserId) {
        this.sendUserId = sendUserId;
    }

    public String getFromUserId() {
        return fromUserId;
    }

    public void setFromUserId(String fromUserId) {
        this.fromUserId = fromUserId;
    }

    public String getSourceUserId() {
        return sourceUserId;
    }

    public void setSourceUserId(String sourceUserId) {
        this.sourceUserId = sourceUserId;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public String getActionParams() {
        return actionParams;
    }

    public void setActionParams(String actionParams) {
        this.actionParams = actionParams;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getMsgType() {
        return msgType;
    }

    public void setMsgType(String msgType) {
        this.msgType = msgType;
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public Object getReadTime() {
        return readTime;
    }

    public void setReadTime(Object readTime) {
        this.readTime = readTime;
    }

    public boolean isPush() {
        return push;
    }

    public void setPush(boolean push) {
        this.push = push;
    }

    public Object getGroupNo() {
        return groupNo;
    }

    public void setGroupNo(Object groupNo) {
        this.groupNo = groupNo;
    }


    public String getOpBy() {
        return opBy;
    }

    public void setOpBy(String opBy) {
        this.opBy = opBy;
    }

    public int getOpAt() {
        return opAt;
    }

    public void setOpAt(int opAt) {
        this.opAt = opAt;
    }

    public boolean isDelFlag() {
        return delFlag;
    }

    public void setDelFlag(boolean delFlag) {
        this.delFlag = delFlag;
    }

    public LoginInfo getSendUser() {
        return sendUser;
    }

    public void setSendUser(LoginInfo sendUser) {
        this.sendUser = sendUser;
    }

    public LoginInfo getFromUser() {
        return fromUser;
    }

    public void setFromUser(LoginInfo fromUser) {
        this.fromUser = fromUser;
    }

    public LoginInfo getSourceUser() {
        return sourceUser;
    }

    public void setSourceUser(LoginInfo sourceUser) {
        this.sourceUser = sourceUser;
    }

    private int toPage;

    private Project project;

    public int getToPage() {
        return toPage;
    }

    public void setToPage(int toPage) {
        this.toPage = toPage;
    }

    public Project getProject() {
        return project;
    }

    public void setProject(Project project) {
        this.project = project;
    }

    public class ActionParms implements Serializable {
        /**
         * creditorId : 3650a97e25c44e9b8f1c1fb5dcde9d50
         * subjectId : 85b0b45ea0c046da9cc7aa7fadf32a67
         */

        private String creditorId;
        private String subjectId;

        public String getCreditorId() {
            return creditorId;
        }

        public void setCreditorId(String creditorId) {
            this.creditorId = creditorId;
        }

        public String getSubjectId() {
            return subjectId;
        }

        public void setSubjectId(String subjectId) {
            this.subjectId = subjectId;
        }
    }

    public class Project implements Serializable {

        /**
         * id : 01b774dd522a46f393a06f96e05ee29f
         * debtorName : 55555
         * projectStatus : {"value":2,"text":"程序中"}
         * projectType : {"value":3,"text":"其他"}
         * projectName : 55555其他案
         * projectLogo :
         * projectNote :
         * courtId :
         * courtName :
         * caseNumber :
         * contacts :
         * contactPhone :
         * debtorLegalRepresentative :
         * sysAddressId :
         * claimFilingStartTime : 1559059200
         * claimFilingEndTime : 1561737600
         * CRNoticeSend : true
         * publicStatus : {"value":1,"text":"部分公开"}
         * publicSection : 0,1,2,3,4,5,6
         * close : false
         * allowJoin : false
         * closeClaimFiling : false
         * openDiscussion : false
         * allowCreditorsChangInfo : false
         * displayedInstantly : false
         * creditorsVisibleDetails : false
         * openAdministratorList : false
         * openAdministratorInfo : false
         * openCreditorsList : false
         * openCreditorsInfo : false
         * smsScope : {"value":0,"text":"全体债权人"}
         * creator : acf7fee2c0c24a20a058da29d496dedf
         * creationTime : 1559108114
         * managersList : null
         * addressInfo : null
         * opBy : acf7fee2c0c24a20a058da29d496dedf
         * opAt : 1559108324
         * delFlag : false
         */

        private String id;
        private String debtorName;
        private ProjectStatusBean projectStatus;
        private ProjectTypeBean projectType;
        private String projectName;
        private String projectLogo;
        private String projectNote;
        private String courtId;
        private String courtName;
        private String caseNumber;
        private String contacts;
        private String contactPhone;
        private String debtorLegalRepresentative;
        private String sysAddressId;
        private int claimFilingStartTime;
        private int claimFilingEndTime;
        private boolean CRNoticeSend;
        private PublicStatusBean publicStatus;
        private String publicSection;
        private boolean close;
        private boolean allowJoin;
        private boolean closeClaimFiling;
        private boolean openDiscussion;
        private boolean allowCreditorsChangInfo;
        private boolean displayedInstantly;
        private boolean creditorsVisibleDetails;
        private boolean openAdministratorList;
        private boolean openAdministratorInfo;
        private boolean openCreditorsList;
        private boolean openCreditorsInfo;
        private SmsScopeBean smsScope;
        private String creator;
        private int creationTime;
        private Object managersList;
        private Object addressInfo;
        private String opBy;
        private int opAt;
        private boolean delFlag;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getDebtorName() {
            return debtorName;
        }

        public void setDebtorName(String debtorName) {
            this.debtorName = debtorName;
        }

        public ProjectStatusBean getProjectStatus() {
            return projectStatus;
        }

        public void setProjectStatus(ProjectStatusBean projectStatus) {
            this.projectStatus = projectStatus;
        }

        public ProjectTypeBean getProjectType() {
            return projectType;
        }

        public void setProjectType(ProjectTypeBean projectType) {
            this.projectType = projectType;
        }

        public String getProjectName() {
            return projectName;
        }

        public void setProjectName(String projectName) {
            this.projectName = projectName;
        }

        public String getProjectLogo() {
            return projectLogo;
        }

        public void setProjectLogo(String projectLogo) {
            this.projectLogo = projectLogo;
        }

        public String getProjectNote() {
            return projectNote;
        }

        public void setProjectNote(String projectNote) {
            this.projectNote = projectNote;
        }

        public String getCourtId() {
            return courtId;
        }

        public void setCourtId(String courtId) {
            this.courtId = courtId;
        }

        public String getCourtName() {
            return courtName;
        }

        public void setCourtName(String courtName) {
            this.courtName = courtName;
        }

        public String getCaseNumber() {
            return caseNumber;
        }

        public void setCaseNumber(String caseNumber) {
            this.caseNumber = caseNumber;
        }

        public String getContacts() {
            return contacts;
        }

        public void setContacts(String contacts) {
            this.contacts = contacts;
        }

        public String getContactPhone() {
            return contactPhone;
        }

        public void setContactPhone(String contactPhone) {
            this.contactPhone = contactPhone;
        }

        public String getDebtorLegalRepresentative() {
            return debtorLegalRepresentative;
        }

        public void setDebtorLegalRepresentative(String debtorLegalRepresentative) {
            this.debtorLegalRepresentative = debtorLegalRepresentative;
        }

        public String getSysAddressId() {
            return sysAddressId;
        }

        public void setSysAddressId(String sysAddressId) {
            this.sysAddressId = sysAddressId;
        }

        public int getClaimFilingStartTime() {
            return claimFilingStartTime;
        }

        public void setClaimFilingStartTime(int claimFilingStartTime) {
            this.claimFilingStartTime = claimFilingStartTime;
        }

        public int getClaimFilingEndTime() {
            return claimFilingEndTime;
        }

        public void setClaimFilingEndTime(int claimFilingEndTime) {
            this.claimFilingEndTime = claimFilingEndTime;
        }

        public boolean isCRNoticeSend() {
            return CRNoticeSend;
        }

        public void setCRNoticeSend(boolean CRNoticeSend) {
            this.CRNoticeSend = CRNoticeSend;
        }

        public PublicStatusBean getPublicStatus() {
            return publicStatus;
        }

        public void setPublicStatus(PublicStatusBean publicStatus) {
            this.publicStatus = publicStatus;
        }

        public String getPublicSection() {
            return publicSection;
        }

        public void setPublicSection(String publicSection) {
            this.publicSection = publicSection;
        }

        public boolean isClose() {
            return close;
        }

        public void setClose(boolean close) {
            this.close = close;
        }

        public boolean isAllowJoin() {
            return allowJoin;
        }

        public void setAllowJoin(boolean allowJoin) {
            this.allowJoin = allowJoin;
        }

        public boolean isCloseClaimFiling() {
            return closeClaimFiling;
        }

        public void setCloseClaimFiling(boolean closeClaimFiling) {
            this.closeClaimFiling = closeClaimFiling;
        }

        public boolean isOpenDiscussion() {
            return openDiscussion;
        }

        public void setOpenDiscussion(boolean openDiscussion) {
            this.openDiscussion = openDiscussion;
        }

        public boolean isAllowCreditorsChangInfo() {
            return allowCreditorsChangInfo;
        }

        public void setAllowCreditorsChangInfo(boolean allowCreditorsChangInfo) {
            this.allowCreditorsChangInfo = allowCreditorsChangInfo;
        }

        public boolean isDisplayedInstantly() {
            return displayedInstantly;
        }

        public void setDisplayedInstantly(boolean displayedInstantly) {
            this.displayedInstantly = displayedInstantly;
        }

        public boolean isCreditorsVisibleDetails() {
            return creditorsVisibleDetails;
        }

        public void setCreditorsVisibleDetails(boolean creditorsVisibleDetails) {
            this.creditorsVisibleDetails = creditorsVisibleDetails;
        }

        public boolean isOpenAdministratorList() {
            return openAdministratorList;
        }

        public void setOpenAdministratorList(boolean openAdministratorList) {
            this.openAdministratorList = openAdministratorList;
        }

        public boolean isOpenAdministratorInfo() {
            return openAdministratorInfo;
        }

        public void setOpenAdministratorInfo(boolean openAdministratorInfo) {
            this.openAdministratorInfo = openAdministratorInfo;
        }

        public boolean isOpenCreditorsList() {
            return openCreditorsList;
        }

        public void setOpenCreditorsList(boolean openCreditorsList) {
            this.openCreditorsList = openCreditorsList;
        }

        public boolean isOpenCreditorsInfo() {
            return openCreditorsInfo;
        }

        public void setOpenCreditorsInfo(boolean openCreditorsInfo) {
            this.openCreditorsInfo = openCreditorsInfo;
        }

        public SmsScopeBean getSmsScope() {
            return smsScope;
        }

        public void setSmsScope(SmsScopeBean smsScope) {
            this.smsScope = smsScope;
        }

        public String getCreator() {
            return creator;
        }

        public void setCreator(String creator) {
            this.creator = creator;
        }

        public int getCreationTime() {
            return creationTime;
        }

        public void setCreationTime(int creationTime) {
            this.creationTime = creationTime;
        }

        public Object getManagersList() {
            return managersList;
        }

        public void setManagersList(Object managersList) {
            this.managersList = managersList;
        }

        public Object getAddressInfo() {
            return addressInfo;
        }

        public void setAddressInfo(Object addressInfo) {
            this.addressInfo = addressInfo;
        }

        public String getOpBy() {
            return opBy;
        }

        public void setOpBy(String opBy) {
            this.opBy = opBy;
        }

        public int getOpAt() {
            return opAt;
        }

        public void setOpAt(int opAt) {
            this.opAt = opAt;
        }

        public boolean isDelFlag() {
            return delFlag;
        }

        public void setDelFlag(boolean delFlag) {
            this.delFlag = delFlag;
        }

        public class ProjectStatusBean {
            /**
             * value : 2
             * text : 程序中
             */

            private int value;
            private String text;

            public int getValue() {
                return value;
            }

            public void setValue(int value) {
                this.value = value;
            }

            public String getText() {
                return text;
            }

            public void setText(String text) {
                this.text = text;
            }
        }

        public class ProjectTypeBean {
            /**
             * value : 3
             * text : 其他
             */

            private int value;
            private String text;

            public int getValue() {
                return value;
            }

            public void setValue(int value) {
                this.value = value;
            }

            public String getText() {
                return text;
            }

            public void setText(String text) {
                this.text = text;
            }
        }

        public class PublicStatusBean {
            /**
             * value : 1
             * text : 部分公开
             */

            private int value;
            private String text;

            public int getValue() {
                return value;
            }

            public void setValue(int value) {
                this.value = value;
            }

            public String getText() {
                return text;
            }

            public void setText(String text) {
                this.text = text;
            }
        }

        public class SmsScopeBean {
            /**
             * value : 0
             * text : 全体债权人
             */

            private int value;
            private String text;

            public int getValue() {
                return value;
            }

            public void setValue(int value) {
                this.value = value;
            }

            public String getText() {
                return text;
            }

            public void setText(String text) {
                this.text = text;
            }
        }
    }
}
